Comet and [Session] TimeOut

Posted by Amitd on Stack Overflow See other posts from Stack Overflow or by Amitd
Published on 2010-04-06T06:52:05Z Indexed on 2010/04/06 6:53 UTC
Read the original article Hit count: 342

hi guys,

Just Wondering how [session] timeouts are(or can be) implemented when using Comet?

I'm using Long polling Comet solution and want to implement a kind of Timeout feature.

Example :
If the user is on a comet enabled page and doesn't respond to server events/notification for a period of time say 10 mins then invalidate his session and remove his request from server and redirect the user to a timeout page?

Will this require Javascript XHR requests to check for a timeout explictly?

Using ASP.NET 3.5 / C#

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#